package org.huifei.a12_command;

/**
 * @author: huifei
 * @date: 2017-09-01 13:28
 * 命令模式
 */
public class Test {
    public static void main(String[] args) {
        Recevier recevier = new Recevier();
        Command command = new MyCommand(recevier);
        Invoker invoker = new Invoker(command);
        invoker.action();
    }
}
